package utils;

import java.io.Serializable;
import java.util.ArrayList;

public class FriendArrayList implements Serializable {
    ArrayList<String> friendArrayList;

    public ArrayList<String> getFriendArrayList() {
        return friendArrayList;
    }

    public FriendArrayList(){
        this.friendArrayList = new ArrayList<String>();
    }

    public void add(String userId){
        friendArrayList.add(userId);
    }

    public String get(int i){
        return friendArrayList.get(i);
    }

    public int size(){
        return friendArrayList.size();
    }

    /*public static void main(String[] args) {
        FriendArrayList friendArrayList = new FriendArrayList();
        friendArrayList.add("11111111");
        System.out.println(friendArrayList.get(0));
    }*/
}
